#include "equipmentshop.h"
#include<QWidget>
#include<QLabel>
#include<QKeyEvent>
#include<QPixmap>
#include<QPushButton>
#include<qrect.h>
#include<QFont>
#include"menu.h"
#include <QDebug>
Equipmentshop::Equipmentshop()
{
    this->setGeometry(435,100,700,700);
    label1.setGeometry(350,60,60,40);
    label1.setText("圣木");

}
void Equipmentshop::paintEvent(QPaintEvent*event)
{

}
void Equipmentshop::keyPressEvent(QKeyEvent *event)
{
    QKeyEvent *key=(QKeyEvent*)event;
    switch(key->key())
    {
    case Qt::Key_Escape:
        emit sendsignal();
        this->close();
        break;
    }
}
